package com.ruibang.glass.equipment.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import com.ruibang.glass.equipment.domain.req.device.DeviceAllPageReq;
import com.ruibang.glass.equipment.entity.device.AccidentRegister;
import com.teaming.cloud.framework2.common.model.ResultBody;

/**
 * <p>
 * 事故台账列表服务类
 * </p>
 *
 * @author mameng
 * @since 2024-03-20
 */
public interface AccidentRegisterService extends IService<AccidentRegister> {
    /**
     *
     * @param
     * @return
     */
    IPage<AccidentRegister> queryPage(DeviceAllPageReq deviceAllPageReq);

    ResultBody updateOrAddById(AccidentRegister accidentRegister);
    /**
     * 详情
     * @param id
     * @return
     */
    AccidentRegister getDetail(String id);
    /**
     * 下载
     * @param id
     */
    void download(String id);


}
